package fr.vahren.sriksal.business.impl;

import fr.vahren.sriksal.business.IPlayerBusiness;
import fr.vahren.sriksal.dao.IPlayerDao;

public class PlayerBusiness implements IPlayerBusiness {

	private IPlayerDao playerDao;

	@Override
	public void associateMapWithPlayer(long mapId, long userId) {
		// insert association
		playerDao.associateMapWithPlayer(mapId, userId);
	}

	/**
	 * @param playerDao
	 *            the playerDao to set
	 */
	public void setPlayerDao(IPlayerDao playerDao) {
		this.playerDao = playerDao;
	}

}
